import { IsNotEmpty, IsOptional } from "class-validator";

export class CreateDictionaryDto {
  @IsNotEmpty()
  name: string

  @IsNotEmpty()
  code: string

  @IsOptional()
  description?: string
}
